home *** CD-ROM | disk | FTP | other *** search
- property pSaucerList, pSaucerLocList
-
- on new me
- set pSaucerList to [37, 38, 39, 40]
- set pSaucerLocList to [point(255, 28), point(316, 85), point(368, 30), point(492, 38), point(403, 22), point(453, 57), point(429, 72), point(75, 31)]
- return me
- end
-
- on mUpdateSaucer me
- set saucerLoc to getAt(pSaucerLocList, random(8))
- repeat while the loc of sprite 3 = saucerLoc
- set saucerLoc to getAt(pSaucerLocList, random(8))
- end repeat
- puppetSnd(1, "SaucerSlide")
- slideAnim(3, the locH of saucerLoc, the locV of saucerLoc, 20, 3, pSaucerList)
- updateStage()
- end
-